/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/16/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.systemmanager.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.hibernate.annotations.GenericGenerator;

import com.manager.IBaseBean;

/**
 * Copyrights 1997-2008 西安协同时光软件有限公司<br />
 * Description:Notice实体<br />
 * Version:V0.1<br />
 * Author: Code Generator <br />
 * History: <br />
 * 03/08/2010 SyncBase Code Generator initial version.
 */
@Entity
@Table(name = "NOTICE")
public class Notice implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public Notice() {

	}
	@Id
	@GeneratedValue(generator = "generator")
	@GenericGenerator(name = "generator", strategy = "increment")
	@Column(name = "id")
	private Long id;

	@Column(name = "notice_type")
	private Long noticeType;

	@Column(name = "notice_title")
	private String noticeTitle;

	@Column(name = "notice_content")
	private String noticeContent;

	@Column(name = "notice_date")
	private String noticeDate;

	@Column(name = "notice_person")
	private String noticePerson;
    
	public Long getId() {
		return this.id;
	}

	/**
	 * @param id
	 *        Set the id.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return Returns the NoticeType.
	 */
	public Long getNoticeType() {
		return this.noticeType;
	}

	/**
	 * @param noticeType
	 *        Set the noticeType.
	 */
	public void setNoticeType(Long noticeType) {
		this.noticeType = noticeType;
	}

	/**
	 * @return Returns the NoticeTitle.
	 */
	public String getNoticeTitle() {
		return this.noticeTitle;
	}

	/**
	 * @param noticeTitle
	 *        Set the noticeTitle.
	 */
	public void setNoticeTitle(String noticeTitle) {
		this.noticeTitle = noticeTitle;
	}

	/**
	 * @return Returns the NoticeContent.
	 */
	public String getNoticeContent() {
		return this.noticeContent;
	}

	/**
	 * @param noticeContent
	 *        Set the noticeContent.
	 */
	public void setNoticeContent(String noticeContent) {
		this.noticeContent = noticeContent;
	}

	/**
	 * @return Returns the NoticeDate.
	 */
	public String getNoticeDate() {
		return this.noticeDate;
	}

	/**
	 * @param noticeDate
	 *        Set the noticeDate.
	 */
	public void setNoticeDate(String noticeDate) {
		this.noticeDate = noticeDate;
	}

	/**
	 * @return Returns the NoticePerson.
	 */
	public String getNoticePerson() {
		return this.noticePerson;
	}
    
	/**
	 * @param noticePerson
	 *        Set the noticePerson.
	 */
	public void setNoticePerson(String noticePerson) {
		this.noticePerson = noticePerson;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
    
}
